package com.mk.service;

import com.mk.base.service.IBaseService;
import com.mk.model.entity.Tag;

/**
 * @Author: yq
 * @Description:
 * @Date: Created in 3:17 PM 3/15/18
 */
public interface ITagService extends IBaseService<Tag> {

    Tag saveTag(com.mk.model.request.TagRequest request);

    Boolean updateTag(com.mk.model.request.TagRequest request);

    Boolean deleteTag(Long id);

    Boolean deleteByPacId(Long pacId);

    Boolean saveOnlyTag(Tag tag);

    Tag get(Long id);

    Tag getByPacId(Long pacId);

    Tag getByNum(String num);
}
